capital = 952
OOB = "CMR_AFR"
set_research_slots = 2
starting_train_buffer = 2.0

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
		basic_heavy_tank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		improved_light_tank_chassis = 1
		basic_heavy_tank_chassis = 1
		engine_tech_1 = 1
	}
}
set_technology = {
	### MOD ###
	basic_train = 1
	
	### General ###
	electronic_mechanical_engineering = 1

	### INF ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1
	tech_recon = 1
	tech_engineers = 1
	tech_mountaineers = 1
	tech_trucks = 1
	motorised_infantry = 1
	gw_artillery = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_technology = {
			aa_lmg = 1
			aa_cannon_1 = 1
			early_bombs = 1
			engines_1 = 1
			engines_2 = 1
			iw_small_airframe = 1
			basic_small_airframe = 1
			iw_medium_airframe = 1
			basic_medium_airframe = 1
			iw_large_airframe = 1
			basic_large_airframe = 1
			air_torpedoe_1 = 1
		}
		MAF_BBA_air_variants = yes
	else = {
		set_technology = {
			early_fighter = 1
			fighter1 = 1
			naval_bomber1 = 1
			early_bomber = 1
			strategic_bomber1 = 1
			tactical_bomber1 = 1
			CAS1 = 1
			cv_early_fighter = 1
			cv_naval_bomber1 = 1
			cv_CAS1 = 1
		}
	}
}

### Navy - MtG ###

if = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		panzerschiffe = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		
		early_ship_hull_carrier = 1
		basic_ship_hull_carrier = 1
		early_ship_hull_heavy = 1
		basic_ship_hull_heavy = 1
		pre_dreadnoughts = 1
		
		basic_naval_mines = 1

		## Modules##
		basic_battery = 1
		basic_light_battery = 1
		basic_medium_battery = 1
		basic_heavy_battery = 1
		basic_depth_charges = 1
		basic_torpedo = 1
		improved_ship_torpedo_launcher = 1
		basic_cruiser_armor_scheme = 1
		basic_heavy_armor_scheme = 1
		
		mtg_transport = 1
	}
}

### Navy - Non MtG ###

if = {
	limit = {
		not = {
			has_dlc = "Man the Guns"
		}
	}
	set_technology = {
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		basic_light_cruiser = 1
		early_submarine = 1
		basic_submarine = 1
		early_heavy_cruiser = 1
		basic_heavy_cruiser = 1
		early_battlecruiser = 1
		early_battleship = 1
		basic_battleship = 1
		heavy_battleship = 1
		
		transport = 1
	}
}

set_convoys = 18

#set_country_flag = KX_no_naval_tech_decision_enable

set_politics = {
	ruling_party = paternal_autocrat
	last_election = "1888.6.15"
	election_frequency = 48
	elections_allowed = no
}

	MAF = {
		every_unit_leader = {
			limit = { has_unit_leader_flag = CMR_leader_flag }
			set_nationality = CMR
		}
	}

add_ideas = {
	Generic_Colonial_Nation
	CMR_the_famine
	CMR_the_concessionary_issue
	CMR_cocoa_sales
}

country_event = { id = kamerun.1 days = 1 } #Intro event
MAF = { country_event = { id = kamerun.1 days = 23 } } #Intro event

country_event = { id = kamerun.10 days = 22 } #Nordafrika
MAF = { country_event = { id = kamerun.10 days = 28 } }
GER = { country_event = { id = kamerun.10 days = 28 } }

country_event = { id = kamerun.13 days = 25 } #Death of Nyoja
MAF = { country_event = { id = kamerun.13 days = 25 } }
GER = { country_event = { id = kamerun.13 days = 25 } }

country_event = { id = kamerun.33 days = 37 } #Restorationists Suppressed in Bornu
MAF = { country_event = { id = kamerun.33 days = 66 } }

country_event = { id = kamerun.16 days = 47 } #Financial Crash
MAF = { country_event = { id = kamerun.16 days = 47 } }

country_event = { id = kamerun.14 days = 64 } #Bafut Incident
GER = { country_event = { id = kamerun.14 days = 64 } }
MAF = { country_event = { id = kamerun.14 days = 64 } }

MAF = { country_event = { id = kamerun.11 days = 501 } } #Anniversary of the Siege of Mora
GER = { country_event = { id = kamerun.11 days = 501 } }

country_event = { id = kamerun.17 days = 109 } #Murmurings of revolt
GER = { country_event = { id = kamerun.17 days = 109 } }
MAF = { country_event = { id = kamerun.17 days = 109 } }

country_event = { id = kamerun.19 days = 163 } #Burning of the Palace of the Bells
GER = { country_event = { id = kamerun.19 days = 163 } }
MAF = { country_event = { id = kamerun.19 days = 163 } }
ADW = { country_event = { id = kamerun.19 days = 163 } }

country_event = { id = kamerun.21 days = 204 } #Atangana calls for peace
ADW = { country_event = { id = kamerun.21 days = 204 } }
GER = { country_event = { id = kamerun.21 days = 204 } }
MAF = { country_event = { id = kamerun.21 days = 204 } }

country_event = { id = kamerun.15 days = 355 } #Gunther Report
MAF = { country_event = { id = kamerun.15 days = 355 } }
GER = { country_event = { id = kamerun.15 days = 355 } }
KEN = { country_event = { id = kamerun.15 days = 355 } } 
UGA = { country_event = { id = kamerun.15 days = 355 } }
NGR = { country_event = { id = kamerun.15 days = 355 } }
GHA = { country_event = { id = kamerun.15 days = 355 } }
BSC = { country_event = { id = kamerun.15 days = 355 } }
MLW = { country_event = { id = kamerun.15 days = 355 } }
ZZB = { country_event = { id = kamerun.15 days = 355 } }
CMR = { country_event = { id = kamerun.15 days = 355 } }
NMB = { country_event = { id = kamerun.15 days = 355 } }
ZAM = { country_event = { id = kamerun.15 days = 355 } }
CEA = { country_event = { id = kamerun.15 days = 355 } }
KOG = { country_event = { id = kamerun.15 days = 355 } }
COG = { country_event = { id = kamerun.15 days = 355 } }
KTG = { country_event = { id = kamerun.15 days = 355 } }
CIV = { country_event = { id = kamerun.15 days = 355 } }
IVO = { country_event = { id = kamerun.15 days = 355 } }
MAG = { country_event = { id = kamerun.15 days = 355 } }
DJI = { country_event = { id = kamerun.15 days = 355 } }
GEA = { country_event = { id = kamerun.15 days = 355 } }

country_event = { id = kamerun.22 days = 411 } #Tribal War Among the Bandjoun
ADW = { country_event = { id = kamerun.22 days = 411 } }
MAF = { country_event = { id = kamerun.22 days = 411 } }
GER = { country_event = { id = kamerun.22 days = 411 } }

country_event = { id = kamerun.20 days = 488 } #Tarzan
GER = { country_event = { id = kamerun.20 days = 488 } }
MAF = { country_event = { id = kamerun.20 days = 488 } }
ADW = { country_event = { id = kamerun.20 days = 488 } }
CIV = { country_event = { id = kamerun.20 days = 488 } }
IVO = { country_event = { id = kamerun.20 days = 488 } }
KOG = { country_event = { id = kamerun.20 days = 488 } }
COG = { country_event = { id = kamerun.20 days = 488 } }
KTG = { country_event = { id = kamerun.20 days = 488 } }
NMB = { country_event = { id = kamerun.20 days = 488 } }
USA = { country_event = { id = kamerun.20 days = 488 } }

country_event = { id = kamerun.23 days = 533 } #Growth of the Catholic Church in Kamerun
ADW = { country_event = { id = kamerun.23 days = 533 } }
GER = { country_event = { id = kamerun.23 days = 533 } }
MAF = { country_event = { id = kamerun.23 days = 533 } }
PAP = { country_event = { id = kamerun.23 days = 533 } }

country_event = { id = kamerun.24 days = 577 } #The Assassination of Dibongue
ADW = { country_event = { id = kamerun.24 days = 577 } }
GER = { country_event = { id = kamerun.24 days = 577 } }
MAF = { country_event = { id = kamerun.24 days = 577 } }

country_event = { id = kamerun.25 days = 643 } #Ethnic Tensions in Duala
ADW = { country_event = { id = kamerun.25 days = 643 } }
GER = { country_event = { id = kamerun.25 days = 643 } }
MAF = { country_event = { id = kamerun.25 days = 643 } }

country_event = { id = kamerun.26 days = 722 } #The Curious Figure of Vincent Ganty
ADW = { country_event = { id = kamerun.26 days = 722 } }
GER = { country_event = { id = kamerun.26 days = 722 } }
MAF = { country_event = { id = kamerun.26 days = 722 } }

country_event = { id = kamerun.27 days = 796 } #Wage Disputes at Likomba
ADW = { country_event = { id = kamerun.27 days = 796 } }
GER = { country_event = { id = kamerun.27 days = 796 } }
MAF = { country_event = { id = kamerun.27 days = 796 } }

country_event = { id = kamerun.12 days = 831 } #Lake Nyos expedition
MAF = { country_event = { id = kamerun.12 days = 831 } }
GER = { country_event = { id = kamerun.12 days = 831 } }

country_event = { id = kamerun.28 days = 889 } #Collapse of the Native Baptist Church
ADW = { country_event = { id = kamerun.28 days = 889 } }
GER = { country_event = { id = kamerun.28 days = 889 } }
MAF = { country_event = { id = kamerun.28 days = 889 } }

country_event = { id = kamerun.29 days = 922 } #Reports of Slavery in Fulaniland
ADW = { country_event = { id = kamerun.29 days = 922 } }
GER = { country_event = { id = kamerun.29 days = 922 } }
MAF = { country_event = { id = kamerun.29 days = 922 } }

country_event = { id = kamerun.30 days = 1001 } #Cracking Down on Pidgin English
ADW = { country_event = { id = kamerun.30 days = 1001 } }
GER = { country_event = { id = kamerun.29 days = 922 } }
MAF = { country_event = { id = kamerun.29 days = 922 } }

country_event = { id = kamerun.31 days = 1094 } #Archdiocese Established in Kamerun
ADW = { country_event = { id = kamerun.31 days = 1094 } }
GER = { country_event = { id = kamerun.31 days = 1094 } }
MAF = { country_event = { id = kamerun.31 days = 1094 } }
PAP = { country_event = { id = kamerun.31 days = 1094 } }

country_event = { id = kamerun.32 days = 1211 } #Kings and Knaves in Kamerun
ADW = { country_event = { id = kamerun.32 days = 1211 } }
GER = { country_event = { id = kamerun.32 days = 1211 } }
MAF = { country_event = { id = kamerun.32 days = 1211 } }
ENG = { country_event = { id = kamerun.32 days = 1211 } }
USA = { country_event = { id = kamerun.32 days = 1211 } }
CSA = { country_event = { id = kamerun.32 days = 1211 } }
TEX = { country_event = { id = kamerun.32 days = 1211 } }
COR = { country_event = { id = kamerun.32 days = 1211 } }
CAL = { country_event = { id = kamerun.32 days = 1211 } }

set_popularities = {
  totalist = 0
  radical_socialist = 0
  syndicalist = 0
  social_democrat = 2
  social_liberal = 6
  market_liberal = 6
  social_conservative = 12
  authoritarian_democrat = 15
  paternal_autocrat = 47
  national_populist = 12
}

set_cosmetic_tag = CMR_GERMAN

if = {
	limit = {
		is_ai = no
	}
	set_rule = {
		can_send_volunteers = yes
		can_be_spymaster = yes
		can_decline_call_to_war = yes
		can_not_declare_war = no
		can_puppet = yes
		units_deployed_to_overlord = yes
	}
}

set_stability = 0.24
set_war_support = 0.37
add_political_power = -65

create_country_leader = {
	name = "Karl Ebermaier"
	picture = "gfx/leaders/CMR/Portrait_CMR_Karl_Ebermaier.png"
	expire = "1.1.1"
	ideology = natpop_colonial_govt_subtype
}

create_country_leader = {
	name = "Hermann von Detzner"
	picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Hermann_Detzner.png"
	expire = "1.1.1"
	ideology = autocratic_colonial_govt_subtype
}

create_country_leader = {
	name = "Karl Atangana"
	picture = "gfx/leaders/CMR/Portrait_CMR_Atangana.png"
	expire = "1.1.1"
	ideology = centrist_subtype
}

create_country_leader = {
	name = "Karl Atangana"
	picture = "gfx/leaders/CMR/Portrait_CMR_Atangana.png"
	expire = "1.1.1"
	ideology = soccon_colonial_govt_subtype 
}

create_country_leader = {
	name = "Carl Heinrich Zimmermann"
	desc = "POLITICS_CHARLES_KAM_DESC"
	picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Carl_Heinrich_Zimmerman.png"
	expire = "1.1.1"
	ideology = colonial_govt_subtype
	traits = {}
}

create_country_leader = {
	name = "Alexander Douala Manga Bell"
	desc = "POLITICS_DUALABELL_KAM_DESC"
	picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Alexander_Duala_Manga_Bell.png"
	expire = "1.1.1"
	ideology = soccon_tribal_chiefdom_subtype
	traits = {}
}

create_country_leader = {
	name = "Ruben Um Nyobè"
	picture = "gfx/leaders/CMR/Portrait_CMR_Ruben_Um_Nyobe.png"
	expire = "1.1.1"
	ideology = socdem_democratic_socialism_subtype 
	traits = {}
}

create_country_leader = {
	name = "Ruben Um Nyobè"
	picture = "gfx/leaders/CMR/Portrait_CMR_Ruben_Um_Nyobe.png"
	expire = "1.1.1"
	ideology = radsoc_red_junta_subtype 
	traits = {}
}

create_country_leader = {
	name = "Ruben Um Nyobè"
	picture = "gfx/leaders/CMR/Portrait_CMR_Ruben_Um_Nyobe.png"
	expire = "1.1.1"
	ideology = african_syndicalism_subtype 
	traits = {}
}

create_country_leader = {
	name = "Ruben Um Nyobè"
	picture = "gfx/leaders/CMR/Portrait_CMR_Ruben_Um_Nyobe.png"
	expire = "1.1.1"
	ideology = autocratic_socialist_subtype 
	traits = {}
}

create_corps_commander = {
	name = "Hermann Detzner"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Hermann_Detzner.png"
	traits = {
		war_hero
		trait_engineer
	}
	skill = 3
	attack_skill = 3
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 3
}

create_corps_commander = {
	name = "Ludwig Mbebe Mpessa"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Ludwig_Mbebe_Mpessa.png"
	traits = {
		trickster
	}
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 3
	id = 21995
}

random_unit_leader = {
	limit = { has_id = 21995 }
	set_unit_leader_flag = CMR_leader_flag
}

create_corps_commander = {
	name = "Elo Sambo"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Elo_Sambo.png"
	traits = {
		harsh_leader
	}
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 2
	id = 21996
}

random_unit_leader = {
	limit = { has_id = 21996 }
	set_unit_leader_flag = CMR_leader_flag
}

create_corps_commander = {
	name = "Karl Atangana"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Karl_Atangana.png"
	traits = {
		career_officer
		old_guard
		politically_connected
	}
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
	id = 21999
}

random_unit_leader = {
	limit = { has_id = 21999 }
	set_unit_leader_flag = CMR_leader_flag
}

create_corps_commander = {
	name = "Franz von Stephani"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Franz_von_Stephani.png"
	traits = {
		politically_connected
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Alexander Duala-Bell"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Alexander_Douala_Manga_Bell.png"
	traits = {
		career_officer
		war_hero
	}
	skill = 3
	attack_skill = 2
	defense_skill = 2
	planning_skill = 3
	logistics_skill = 3
	id = 21998
}

random_unit_leader = {
	limit = { has_id = 21998 }
	set_unit_leader_flag = CMR_leader_flag
}

create_corps_commander = {
	name = "Carl Heinrich Zimmermann"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Carl_Heinrich_Zimmerman.png"
	traits = {
		career_officer
		inflexible_strategist
	}
	skill = 3
	attack_skill = 3
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 3
	id = 21997
}

random_unit_leader = {
	limit = { has_id = 21997 }
	set_unit_leader_flag = CMR_leader_flag
}

create_navy_leader = {
	name = "Ernst-Felix Krüder"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Ernst_Felix_Krueder.png"
	traits = { bold }
	skill = 2
	attack_skill = 3
	defense_skill = 1
	maneuvering_skill = 3
	coordination_skill = 2
	id = 36866
}

random_unit_leader = {
	limit = { has_id = 36866 }
	set_unit_leader_flag = CMR_leader_flag
}
